<div id="updateForm">
    <form name="updateForm" action="" method="POST">
        Your name:<br>
        <div class="name">
            <input type="text" name="name" value="<?=$this->user->getUserName()?>">
        </div>
        Your age:<br>
        <div class="age">
            <input type="text" name="age" value="<?=$this->user->getUserAge()?>">
        </div>
        <div class="submit">
            <input type="submit" value="Send" >
        </div>
        <div class="error"><?php if(isset(View_View::$error)){echo View_View::getError();}?></div>
        <div><a href='#' onclick="document.location='/'">Main Page</a></div>
    </form>
</div>
